.region-rank {
  width: 100%;
  height: 100%;
  background: rgba(10, 38, 71, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
  backdrop-filter: blur(10px);
}

.region-rank__header {
  margin-bottom: 20px;
}

.region-rank__title {
  font-size: 18px;
  font-weight: bold;
  color: #00d4ff;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.region-rank__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: calc(100% - 60px);
  overflow-y: auto;
}

.region-rank__list::-webkit-scrollbar {
  width: 6px;
}

.region-rank__list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.region-rank__list::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.5);
  border-radius: 3px;
}

.region-rank__list::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 255, 0.7);
}

.region-rank__item {
  display: grid;
  grid-template-columns: 50px 1fr 100px 40px;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.region-rank__item:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.5);
  transform: translateX(5px);
}

.region-rank__item--top {
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.2) 0%,
    rgba(255, 77, 79, 0.1) 100%
  );
  border-color: rgba(255, 215, 0, 0.5);
}

.region-rank__rank {
  font-size: 24px;
  font-weight: bold;
  color: #00d4ff;
  text-align: center;
}

.region-rank__item--top .region-rank__rank {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.region-rank__name {
  font-size: 16px;
  color: #fff;
  font-weight: 500;
}

.region-rank__value {
  font-size: 16px;
  font-weight: bold;
  color: #faad14;
  text-align: right;
}

.region-rank__trend {
  font-size: 20px;
  text-align: center;
  font-weight: bold;
}

.region-rank__trend--up {
  color: #ff4d4f;
  animation: trendUp 1s ease-in-out infinite;
}

.region-rank__trend--down {
  color: #52c41a;
  animation: trendDown 1s ease-in-out infinite;
}

@keyframes trendUp {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes trendDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}
